package com.example.choupaiapp.main.bean

import java.io.Serializable
import java.math.BigDecimal

/**
 * Created by ASUS on 2019/11/21.
 */

class EnergyTaskBean : Serializable {

    /**
     * msg : success
     * code : 0
     * money : 3
     * list : [{"id":1,"name":"连续签到","number":7,"min":1000,"max":null,"comment":"连续7天签到，奖励翻倍","realizeNumber":1,"status":0},{"id":2,"name":"邀请好友","number":5,"min":10000,"max":null,"comment":"邀请5个好友，,可再得10000能量值","realizeNumber":2,"status":0},{"id":3,"name":"发布任务","number":5,"min":500,"max":20000,"comment":"每日发布可获得500-20000能量值","realizeNumber":0,"status":0},{"id":4,"name":"浏览内容","number":10,"min":500,"max":1000,"comment":"每日浏览10条内容可获得500-1000能量值","realizeNumber":0,"status":0},{"id":5,"name":"有效评论","number":10,"min":500,"max":1000,"comment":"每日有效评论10条可获得500-1000能量值","realizeNumber":0,"status":0},{"id":6,"name":"参与点赞","number":10,"min":500,"max":1000,"comment":"每日点赞10条内容可获得500-1000能量值","realizeNumber":0,"status":0}]
     * energy : 3000
     * energyRatio : 1000
     */

    private var msg: String? = null
    private var code: Int = 0
    private var energy: Int = 0
    private var energyRatio: Int = 0
    private var money: BigDecimal? = null

    fun getMoney(): BigDecimal? {
        return money
    }

    fun setMoney(money: BigDecimal) {
        this.money = money
    }

    fun getMsg(): String? {
        return msg
    }

    fun setMsg(msg: String) {
        this.msg = msg
    }

    fun getCode(): Int {
        return code
    }

    fun setCode(code: Int) {
        this.code = code
    }


    fun getEnergy(): Int {
        return energy
    }

    fun setEnergy(energy: Int) {
        this.energy = energy
    }

    fun getEnergyRatio(): Int {
        return energyRatio
    }

    fun setEnergyRatio(energyRatio: Int) {
        this.energyRatio = energyRatio
    }


}
